<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>S110_nRF51822/Include/ble/softdevice/ble_types.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css" />
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="alias.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="alias.js"></script>

<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>


<script type="text/javascript">
  jQuery(document).ready(function () {
    if(gref){ // Number all _img and _table classes
      gref();
    }
  });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->

<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">nRF51822 BLE SDK
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>Globals</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('ble__types_8h.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="headertitle">
<div class="title">S110_nRF51822/Include/ble/softdevice/ble_types.h</div>  </div>
</div>
<div class="contents">
<div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="comment">/* Copyright (c) 2011 Nordic Semiconductor. All Rights Reserved.</span>
<a name="l00002"></a>00002 <span class="comment"> *</span>
<a name="l00003"></a>00003 <span class="comment"> * The information contained herein is confidential property of Nordic Semiconductor. The use,</span>
<a name="l00004"></a>00004 <span class="comment"> * copying, transfer or disclosure of such information is prohibited except by express written</span>
<a name="l00005"></a>00005 <span class="comment"> * agreement with Nordic Semiconductor.</span>
<a name="l00006"></a>00006 <span class="comment"> *</span>
<a name="l00007"></a>00007 <span class="comment"> */</span>
<a name="l00017"></a>00017 <span class="preprocessor">#ifndef BLE_TYPES_H__</span>
<a name="l00018"></a>00018 <span class="preprocessor"></span><span class="preprocessor">#define BLE_TYPES_H__</span>
<a name="l00019"></a>00019 <span class="preprocessor"></span>
<a name="l00020"></a>00020 <span class="preprocessor">#include &lt;stdint.h&gt;</span>
<a name="l00021"></a>00021 
<a name="l00024"></a><a class="code" href="group___b_l_e___c_o_n_n___h_a_n_d_l_e_s.html#gacf227b9b101dbcf08eccbbaba54e48f5">00024</a> <span class="preprocessor">#define BLE_CONN_HANDLE_INVALID 0xFFFF  </span>
<a name="l00025"></a><a class="code" href="group___b_l_e___c_o_n_n___h_a_n_d_l_e_s.html#ga75e3958065c393f536bd316877892997">00025</a> <span class="preprocessor">#define BLE_CONN_HANDLE_ALL     0xFFFE  </span>
<a name="l00031"></a>00031 <span class="preprocessor"></span><span class="comment">/* Generic UUIDs, applicable to all services */</span>
<a name="l00032"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga1c79cdc83128a672be4d07921d2e45c2">00032</a> <span class="preprocessor">#define BLE_UUID_SERVICE_PRIMARY                      0x2800 </span>
<a name="l00033"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga2c15c436aa715834bb47cb695e952cae">00033</a> <span class="preprocessor">#define BLE_UUID_SERVICE_SECONDARY                    0x2801 </span>
<a name="l00034"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gab90b6506450b9102b00f3cd675680f44">00034</a> <span class="preprocessor">#define BLE_UUID_SERVICE_INCLUDE                      0x2802 </span>
<a name="l00035"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gac1247c863c8c293a1ab2d8d53fc86b77">00035</a> <span class="preprocessor">#define BLE_UUID_CHARACTERISTIC                       0x2803 </span>
<a name="l00036"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gad912e4f32457de19e8bcfbd95b80df44">00036</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_CHAR_EXT_PROP             0x2900 </span>
<a name="l00037"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gae4485d6b145f9b635842a1d27ee3603c">00037</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_CHAR_USER_DESC            0x2901 </span>
<a name="l00038"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gae3c54dd809c9dec53a3c4995b0f408f1">00038</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_CLIENT_CHAR_CONFIG        0x2902 </span>
<a name="l00039"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga03ceb71bc3996111c5ded9ba1f5b5ea5">00039</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_SERVER_CHAR_CONFIG        0x2903 </span>
<a name="l00040"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gaaab8d24f4f044cdbc956fbbf16aa2b2d">00040</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_CHAR_PRESENTATION_FORMAT  0x2904 </span>
<a name="l00041"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga082c169a7d21fa9c21b9bc7897a47dc5">00041</a> <span class="preprocessor">#define BLE_UUID_DESCRIPTOR_CHAR_AGGREGATE_FORMAT     0x2905 </span>
<a name="l00042"></a>00042 <span class="preprocessor"></span><span class="comment">/* GATT specific UUIDs */</span>
<a name="l00043"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga418b2799bf0d0d7e15496c9ece20c800">00043</a> <span class="preprocessor">#define BLE_UUID_GATT                                 0x1801 </span>
<a name="l00044"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gab2c3d0d5d8e4d88e14e544c4518a4e5b">00044</a> <span class="preprocessor">#define BLE_UUID_GATT_CHARACTERISTIC_SERVICE_CHANGED  0x2A05 </span>
<a name="l00045"></a>00045 <span class="preprocessor"></span><span class="comment">/* GAP specific UUIDs */</span>
<a name="l00046"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga03f02e3183f99757dc2fac8192bcbf86">00046</a> <span class="preprocessor">#define BLE_UUID_GAP                                  0x1800 </span>
<a name="l00047"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gaefc74572ced8c611602f5bb25804281e">00047</a> <span class="preprocessor">#define BLE_UUID_GAP_CHARACTERISTIC_DEVICE_NAME       0x2A00 </span>
<a name="l00048"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#gafc8e59c9ba74e25c058a37dfa33b8aa4">00048</a> <span class="preprocessor">#define BLE_UUID_GAP_CHARACTERISTIC_APPEARANCE        0x2A01 </span>
<a name="l00049"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga69a09268e373ef95cd35de1457b99cf7">00049</a> <span class="preprocessor">#define BLE_UUID_GAP_CHARACTERISTIC_PPF               0x2A02 </span>
<a name="l00050"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga9017ed725d44887f8d69e004187bf92f">00050</a> <span class="preprocessor">#define BLE_UUID_GAP_CHARACTERISTIC_RECONN_ADDR       0x2A03 </span>
<a name="l00051"></a><a class="code" href="group___b_l_e___u_u_i_d___v_a_l_u_e_s.html#ga7d00000113781b827c4c645b99e06ed2">00051</a> <span class="preprocessor">#define BLE_UUID_GAP_CHARACTERISTIC_PPCP              0x2A04 </span>
<a name="l00057"></a><a class="code" href="group___b_l_e___u_u_i_d___t_y_p_e_s.html#ga0dfc5e26324c8cd7226f3941acbf5b7e">00057</a> <span class="preprocessor">#define BLE_UUID_TYPE_UNKNOWN       0x00 </span>
<a name="l00058"></a><a class="code" href="group___b_l_e___u_u_i_d___t_y_p_e_s.html#gae549d14b15783ba52dae5fdd5f9ac959">00058</a> <span class="preprocessor">#define BLE_UUID_TYPE_BLE           0x01 </span>
<a name="l00059"></a><a class="code" href="group___b_l_e___u_u_i_d___t_y_p_e_s.html#ga7bdcaea9ea91ab20be755d78833da46d">00059</a> <span class="preprocessor">#define BLE_UUID_TYPE_VENDOR_BEGIN  0x02 </span>
<a name="l00066"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gacb9f124cc059fc8ee71835a02138b490">00066</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_RFU                 0x00 </span>
<a name="l00067"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga6ff3ee1da47aed450fc4578e1554781d">00067</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_BOOLEAN             0x01 </span>
<a name="l00068"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga52685313bb3952ebc70769328225a02d">00068</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_2BIT                0x02 </span>
<a name="l00069"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gace207b94dccae2ca5eff3f37f788fb11">00069</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_NIBBLE              0x03 </span>
<a name="l00070"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga74967a47a9dd043e3b2bf17a97bc55bb">00070</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT8               0x04 </span>
<a name="l00071"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gace2cac76cd3ef127716cb57748380a11">00071</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT12              0x05 </span>
<a name="l00072"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gacec27c7cd658d75eded544aafe9c6e15">00072</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT16              0x06 </span>
<a name="l00073"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga1622747d761e51dadde198e33d1d77b6">00073</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT24              0x07 </span>
<a name="l00074"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gaa8247c1476d287af369579bbc99872be">00074</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT32              0x08 </span>
<a name="l00075"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga0a2d411bcd760541e7e6757e801ed169">00075</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT48              0x09 </span>
<a name="l00076"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga01ca488fb6924a1c97883ae69e1ce25e">00076</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT64              0x0A </span>
<a name="l00077"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga061f563686819cff44ae81cd64ea0ecb">00077</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UINT128             0x0B </span>
<a name="l00078"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gafaeea14940939c32ce4f4059b68b7873">00078</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT8               0x0C </span>
<a name="l00079"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gaf61f7b56995f219c14b7ba332aa09b1d">00079</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT12              0x0D </span>
<a name="l00080"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga3ed5390316d186d8bf8a4f8e9a0f1837">00080</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT16              0x0E </span>
<a name="l00081"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga0f48e016d5fa3ee888844184be0c2d6d">00081</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT24              0x0F </span>
<a name="l00082"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga3d95ebebc388766712c85d7800412569">00082</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT32              0x10 </span>
<a name="l00083"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga8c087b44666108d0e09a34472be7f4d3">00083</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT48              0x11 </span>
<a name="l00084"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga560e9ed6819d03d50d03ad6c4cf53d57">00084</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT64              0x12 </span>
<a name="l00085"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga2f718099089b272595ab7d9235c5d922">00085</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SINT128             0x13 </span>
<a name="l00086"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga7a300f4bdb1df2fb033dd3833b4577d4">00086</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_FLOAT32             0x14 </span>
<a name="l00087"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gadeee6028c2ba575eb6757de1b4c766e0">00087</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_FLOAT64             0x15 </span>
<a name="l00088"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga512f7de075cbb311f05fe2f2afa7a59c">00088</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_SFLOAT              0x16 </span>
<a name="l00089"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gad4fe3c596b0f64413b410dc0c9e8b684">00089</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_FLOAT               0x17 </span>
<a name="l00090"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga42d6858202e8d7ed9ba25a2e06a78065">00090</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_DUINT16             0x18 </span>
<a name="l00091"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gacf4564e8d2a592f4016ac2be0a82bfdf">00091</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UTF8S               0x19 </span>
<a name="l00092"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#gaf597838130de7828d96b69d1fd3030b7">00092</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_UTF16S              0x1A </span>
<a name="l00093"></a><a class="code" href="group___b_l_e___g_a_t_t___c_p_f___f_o_r_m_a_t_s.html#ga997ab4dd2ed31e35bee23df7e8535c5f">00093</a> <span class="preprocessor">#define BLE_GATT_CPF_FORMAT_STRUCT              0x1B </span>
<a name="l00100"></a>00100 <span class="preprocessor">#define BLE_GATT_CPF_NAMESPACE_BTSIG            0x01</span>
<a name="l00101"></a>00101 <span class="preprocessor"></span>
<a name="l00102"></a>00102 <span class="preprocessor">#define BLE_GATT_CPF_NAMESPACE_DESCRIPTION_UNKNOWN 0x0000</span>
<a name="l00103"></a>00103 <span class="preprocessor"></span>
<a name="l00109"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga45ecf7c049e0f1f6a4a2332b2033b5b4">00109</a> <span class="preprocessor">#define BLE_APPEARANCE_UNKNOWN                              0   </span>
<a name="l00110"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga9e49b6a59be5a7b7d3fc2d6bb7d33c82">00110</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_PHONE                        64  </span>
<a name="l00111"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gaa71281a8fe31b848e3ad4b67e2d9d14e">00111</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_COMPUTER                     128 </span>
<a name="l00112"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gac33412b7491ee76236bdd1bb1a1f2818">00112</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_WATCH                        192 </span>
<a name="l00113"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga36ad112fa0bc482256f11d3e210d3b45">00113</a> <span class="preprocessor">#define BLE_APPEARANCE_WATCH_SPORTS_WATCH                   193 </span>
<a name="l00114"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga58d6951a86675854ea8b9a1e8284318c">00114</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_CLOCK                        256 </span>
<a name="l00115"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga71a5be0afbbc3bd78c8a7010a16ac908">00115</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_DISPLAY                      320 </span>
<a name="l00116"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gad600d4f563f97be538b6dc8011e6a413">00116</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_REMOTE_CONTROL               384 </span>
<a name="l00117"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga365fa871a32eb974f629f6d44fbc556b">00117</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_EYE_GLASSES                  448 </span>
<a name="l00118"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gae858415a747a5c18a37896028285eaa2">00118</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_TAG                          512 </span>
<a name="l00119"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga7239b3bf480c0814172799d8b52ed478">00119</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_KEYRING                      576 </span>
<a name="l00120"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga467963f51aae2cc61e5689fecd85767d">00120</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_MEDIA_PLAYER                 640 </span>
<a name="l00121"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gaaaafaf0f13b0451047e820df62d87cc9">00121</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_BARCODE_SCANNER              704 </span>
<a name="l00122"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gae035f9dd63fe3590273cd8afa2f60098">00122</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_THERMOMETER                  768 </span>
<a name="l00123"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga2dc350f30b586cf625c140f98a4eb98f">00123</a> <span class="preprocessor">#define BLE_APPEARANCE_THERMOMETER_EAR                      769 </span>
<a name="l00124"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gae08d97017cbf4ed3807ead537f72fff1">00124</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_HEART_RATE_SENSOR            832 </span>
<a name="l00125"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga590996bfcab479b91c41ee10060e3ce7">00125</a> <span class="preprocessor">#define BLE_APPEARANCE_HEART_RATE_SENSOR_HEART_RATE_BELT    833 </span>
<a name="l00126"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga7eb86873b8119bd9aaa297afdc449fe9">00126</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_BLOOD_PRESSURE               896 </span>
<a name="l00127"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga3f3b0095593a1aabaa90c1124990902b">00127</a> <span class="preprocessor">#define BLE_APPEARANCE_BLOOD_PRESSURE_ARM                   897 </span>
<a name="l00128"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gac8f717c93120efaef5a1036cc6810ee6">00128</a> <span class="preprocessor">#define BLE_APPEARANCE_BLOOD_PRESSURE_WRIST                 898 </span>
<a name="l00129"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga309d0108abd66f1179f80c72c72f8624">00129</a> <span class="preprocessor">#define BLE_APPEARANCE_HUMAN_INTERFACE_DEVICE_HID_GENERIC   960 </span>
<a name="l00130"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gae9bff713685aad5a895f18f7849e455a">00130</a> <span class="preprocessor">#define BLE_APPEARANCE_KEYBOARD_HID_SUBTYPE                 961 </span>
<a name="l00131"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga0e15c28e7198b16da6867a72915f53ee">00131</a> <span class="preprocessor">#define BLE_APPEARANCE_MOUSE_HID_SUBTYPE                    962 </span>
<a name="l00132"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga18ecc89bc5d20642d6c2aa80c24dddce">00132</a> <span class="preprocessor">#define BLE_APPEARANCE_JOYSTICK_HID_SUBTYPE                 963 </span>
<a name="l00133"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga7682dbc5553ff2cf3b0358c3b3e4fd7a">00133</a> <span class="preprocessor">#define BLE_APPEARANCE_GAMEPAD_HID_SUBTYPE                  964 </span>
<a name="l00134"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga2357fce9fa1e606662d0e7718de4844a">00134</a> <span class="preprocessor">#define BLE_APPEARANCE_DIGITIZER_TABLET_HID_SUBTYPE         965 </span>
<a name="l00135"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gaaeb5bc453f4f8f4649b29db271c38628">00135</a> <span class="preprocessor">#define BLE_APPEARANCE_CARD_READER_HID_SUBTYPE              966 </span>
<a name="l00136"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gafa470cc39c53f10e25cd0e8e8442390a">00136</a> <span class="preprocessor">#define BLE_APPEARANCE_DIGITAL_PEN_HID_SUBTYPE              967 </span>
<a name="l00137"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#ga67dad458f7b94212639ab13d9e1b39c6">00137</a> <span class="preprocessor">#define BLE_APPEARANCE_BARCODE_SCANNER_HID_SUBTYPE          968 </span>
<a name="l00138"></a><a class="code" href="group___b_l_e___a_p_p_e_a_r_a_n_c_e_s.html#gaffc5ed3121b304386e30afd357cf8299">00138</a> <span class="preprocessor">#define BLE_APPEARANCE_GENERIC_GLUCOSE_METER                968 </span>
<a name="l00142"></a>00142 <span class="preprocessor">typedef struct</span>
<a name="l00143"></a>00143 <span class="preprocessor"></span>{ 
<a name="l00144"></a>00144     <span class="keywordtype">unsigned</span> <span class="keywordtype">char</span> uuid128[16];
<a name="l00145"></a>00145 } <a class="code" href="structble__uuid128__t.html" title="128 bit UUID values.">ble_uuid128_t</a>;
<a name="l00146"></a>00146 
<a name="l00148"></a>00148 <span class="keyword">typedef</span> <span class="keyword">struct</span>
<a name="l00149"></a>00149 {
<a name="l00150"></a><a class="code" href="structble__uuid__t.html#aaa1ded1f77a9c12a196ed4ba2ce5f95d">00150</a>     uint16_t    <a class="code" href="structble__uuid__t.html#aaa1ded1f77a9c12a196ed4ba2ce5f95d">uuid</a>; 
<a name="l00151"></a><a class="code" href="structble__uuid__t.html#a1d127017fb298b889f4ba24752d08b8e">00151</a>     uint8_t     <a class="code" href="structble__uuid__t.html#a1d127017fb298b889f4ba24752d08b8e">type</a>; 
<a name="l00152"></a>00152 } <a class="code" href="structble__uuid__t.html" title="Bluetooth Low Energy UUID type, encapsulates both 16-bit and 128-bit UUIDs.">ble_uuid_t</a>;
<a name="l00153"></a>00153 
<a name="l00154"></a>00154 
<a name="l00156"></a><a class="code" href="group__ble__types.html#gac4478362651889d2ade8030f53713588">00156</a> <span class="preprocessor">#define BLE_UUID_BLE_ASSIGN(instance, value) do {\</span>
<a name="l00157"></a>00157 <span class="preprocessor">            instance.type = BLE_UUID_TYPE_BLE; \</span>
<a name="l00158"></a>00158 <span class="preprocessor">            instance.uuid = value;} while(0)</span>
<a name="l00159"></a>00159 <span class="preprocessor"></span>
<a name="l00161"></a><a class="code" href="group__ble__types.html#gae760be8e12d22dc39e9dca99bdf33536">00161</a> <span class="preprocessor">#define BLE_UUID_COPY_PTR(dst, src) do {\</span>
<a name="l00162"></a>00162 <span class="preprocessor">            (dst)-&gt;type = (src)-&gt;type; \</span>
<a name="l00163"></a>00163 <span class="preprocessor">            (dst)-&gt;uuid = (src)-&gt;uuid;} while(0)</span>
<a name="l00164"></a>00164 <span class="preprocessor"></span>
<a name="l00166"></a><a class="code" href="group__ble__types.html#ga7b7bc0d395b3436d101cbf183a16fd8f">00166</a> <span class="preprocessor">#define BLE_UUID_COPY_INST(dst, src) do {\</span>
<a name="l00167"></a>00167 <span class="preprocessor">            (dst).type = (src).type; \</span>
<a name="l00168"></a>00168 <span class="preprocessor">            (dst).uuid = (src).uuid;} while(0)</span>
<a name="l00169"></a>00169 <span class="preprocessor"></span>
<a name="l00171"></a><a class="code" href="group__ble__types.html#gaa8d7439022acdbd47118aab389084298">00171</a> <span class="preprocessor">#define BLE_UUID_EQ(p_uuid1, p_uuid2) \</span>
<a name="l00172"></a>00172 <span class="preprocessor">            (((p_uuid1)-&gt;type == (p_uuid2)-&gt;type) &amp;&amp; ((p_uuid1)-&gt;uuid == (p_uuid2)-&gt;uuid))</span>
<a name="l00173"></a>00173 <span class="preprocessor"></span>
<a name="l00175"></a><a class="code" href="group__ble__types.html#ga06eb7ac9c1db7d9a1ef2fb7d6fb4e5ec">00175</a> <span class="preprocessor">#define BLE_UUID_NEQ(p_uuid1, p_uuid2) \</span>
<a name="l00176"></a>00176 <span class="preprocessor">            (((p_uuid1)-&gt;type != (p_uuid2)-&gt;type) || ((p_uuid1)-&gt;uuid != (p_uuid2)-&gt;uuid))</span>
<a name="l00177"></a>00177 <span class="preprocessor"></span>
<a name="l00178"></a>00178 
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 <span class="preprocessor">#endif </span><span class="comment">/* BLE_TYPES_H__ */</span>
<a name="l00181"></a>00181 
</pre></div></div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>ble_types.h</b>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Data Structures</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">
      Copyright &copy 2006-2011 <a href="http://www.nordicsemi.no" style="text-decoration:none">Nordic Semiconductor</a>.
      All Rights Reserved.
      <a href="disclaimer.html">Disclaimer</a>
    </li>
   </ul>
 </div>


</body>
</html>
